#!/usr/bin/python
#-*-<coding=UTF-8>-*-

list = ["a","b","mpilgrim","z","example"]
print "list is:%s" %list
print "list[2] element is:%s" %list[2]
print "list[-2] element is:%s" %list[-2]

#include from 2 to 5 but not include 5
print "list[2:5] element is:%s" %list[2:5]

list.append("new")
print "list append:%s" %list
